Enhancing KiWi - Scalable Concurrent Key-Value Map

نویسندگان

  • Assaf Yifrach
  • Niv Gabso
چکیده

We​ ​take​ ​a​ ​relatively​ ​fresh​ ​wait-free,​ ​concurrent​ ​sorted​ ​map​ ​called​ ​KiWi,​ ​fix​ ​and​ ​enhance​ ​it. First,​ ​we​ ​test​ ​its​ ​linearizability​ ​by​ ​fuzzing​ ​and​ ​applying​ ​Wing&Gong​ ​[2]​ ​linearizability​ ​test. After​ ​fixing​ ​a​ ​few​ ​bugs​ ​in​ ​the​ ​algorithm​ ​design​ ​and​ ​its​ ​implementation,​ ​we​ ​enhance​ ​it.​ ​We design,​ ​implement​ ​and​ ​test​ ​two​ ​new​ ​linearizable​ ​operations​ ​sizeLowerBound()​ ​and sizeUpperBound().​ ​We​ ​further​ ​compose​ ​these​ ​operations​ ​to​ ​create​ ​more​ ​useful​ ​operations. Last,​ ​we​ ​evaluate​ ​the​ ​map​ ​performance​ ​because​ ​previous​ ​evaluations​ ​became​ ​obsolete​ ​due to​ ​our​ ​bug​ ​corrections. KiWi​ ​-​ ​OCC​ ​Key-Value​ ​Map 1 Abstract 1 1.​ ​Preface 2 1.2​ ​KiWi​ ​data​ ​structure​ ​overview​ ​-​ ​emphasis​ ​on​ ​intra-chunk​ ​management. 2 1.2.1​ ​Data​ ​structure​ ​organization 2 1.2.2​ ​Data​ ​Structure​ ​Invariants 3 1.2.3​ ​Brief​ ​description​ ​of​ ​basic​ ​operations 3 2.​ ​Our​ ​contribution 4 2.1​ ​Linearizable​ ​size​ ​bounds 4 2.1.1​ ​Size​ ​Lower​ ​Bound​ ​Design 5 2.1.1.1​ ​The​ ​basic​ ​idea 5 2.1.1.2​ ​More​ ​details​ ​and​ ​Pseudocode 5 2.2​ ​Composition​ ​of​ ​linearizable​ ​operations 8 2.2.1​ ​Motivation 8 2.2.2​ ​Composing​ ​lower&upper​ ​bounds​ ​to​ ​get​ ​isEmpty() 9 2.2.3​ ​Composing​ ​lower&upper​ ​bounds​ ​to​ ​get​ ​size() 9 2.3​ ​Performance​ ​evaluations 10 2.3.1​ ​Competing​ ​Data​ ​Structures 10 2.3.2​ ​Tested​ ​Workloads 10 2.3.2​ ​Benchmark​ ​results​ ​discussion 14 2.3.4​ ​Technical​ ​details 14 2.4​ ​Testing​ ​for​ ​linearizability 14 2.4.1​ ​Generating​ ​histories​ ​from​ ​real​ ​executions 15 2.4.2​ ​Generating​ ​useful​ ​executions 15 03/09/2017 Assaf​ ​Yifrach [email protected] Niv​ ​Gabso [email protected]​​ ​​ ​/​ ​[email protected] 2 2.4.2​ ​Testing​ ​a​ ​concurrent​ ​history 15 2.5​ ​Bug​ ​fixes 15 2.5.1​ ​Comparison​ ​by​ ​data​ ​index​ ​and​ ​order​ ​index 15 2.5.2​ ​Make​ ​the​ ​get()​ ​operation​ ​to​ ​always​ ​consider​ ​the​ ​item​ ​from​ ​PPA 15 2.5.3​ ​Insert​ ​null​ ​into​ ​the​ ​linked​ ​list​ ​even​ ​if​ ​the​ ​key​ ​does​ ​not​ ​exist 16 2.5.4​ ​Rewrite​ ​ChunkInt.copyRange()​ ​method 16 4.​ ​Future​ ​Work 16 5.​ ​References 18

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

EXTRACTION MAIN MAP DATA FROM KIWI FORMAT Of NAVIGATION ELECTRONIC MAP DATA

Map display is basic function and spatial reference for vehicle navigation system. Based on object-oriented programming (OOP) and C++ computer language, the paper provides and practices an approach of parsing main map data of Kiwi format and translating them into MapInfo’s MIF format, which is open and used widely for spatial data sharing. Finally, by a case study, it extracts necessary road at...

متن کامل

Concurrent Operations of O2-Tree on Shared Memory Multicore Architectures

Modern computer architectures provide high performance computing capability by having multiple CPU cores. Such systems are also typically associated with very large main-memory capacities, of the order of tens to hundreds of gigabytes, thereby allowing such architectures to be used for fast processing of in-memory databases applications. However, most of the concurrency control mechanism associ...

متن کامل

High frequency of IgE sensitization towards kiwi seed storage proteins among peanut allergic individuals also reporting allergy to kiwi

Background IgE sensitization to storage proteins from nuts and seed is often related to severe allergic symptoms. There is a risk of immunological IgE cross-reactivity between storage proteins from different species. The potential clinical implication of such cross-reactivity is that allergens other than the known sensitizer can cause allergic symptoms. Previous studies have suggested that kiwi...

متن کامل

بررسی فعالیت ضد قارچی عصاره کیوی بر روی قارچ‌های ساپروفیت و درماتوفیت

  Background and Objective: There are a few reports of antifungal activity of kiwi extract. This study was designed to investigate the antifungal activity of kiwi alcoholic extract on Saprophytes and Trichophyton mentagrophytes and Dermatophytes for the first time in Iran. Materials and Methods:A Fungal suspension containing 1×105 CFU/mL of conidia and yeasty cells from 9 selected fu...

متن کامل

KIWI: A technology for public health event monitoring and early warning signal detection

OBJECTIVES To introduce the Canadian Network for Public Health Intelligence's new Knowledge Integration using Web-based Intelligence (KIWI) technology, and to pefrom preliminary evaluation of the KIWI technology using a case study. The purpose of this new technology is to support surveillance activities by monitoring unstructured data sources for the early detection and awareness of potential p...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017